LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
src/com_sct_mycamapp_CamJni.cpp \
src/com_sct_screen_ScreenJni.cpp \


LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/ \
	    $(NDK)/sources/cxx-stl/gnu-libstdc++/4.8/include/ \
    	$(NDK)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include/ \
    $(linphone-root-dir)/libsct \
    $(linphone-root-dir)/libsct/third-party/android-install/include \
    $(linphone-root-dir)/libsct/third-party/android-install/include/libxml2/ \
    $(linphone-root-dir)/libsct/third-party/android-install/include/jrtplib3 \



LOCAL_SHARED_LIBRARIES := \

LOCAL_MODULE:= libcamjni
LOCAL_LDLIBS += -lGLESv1_CM -lgnustl_shared\

LOCAL_CFLAGS := -O2 -g -W -Wall
LOCAL_CPPFLAGS +=  -O2 -fexceptions

LOCAL_LDFLAGS += -L$(APP_PROJECT_PATH)/libs/armeabi-v7a/  -L$(linphone-root-dir)/libsct/third-party/android-install/lib   \
    -lxml2 -lsct -ljrtp -ljthread -lc -lz


include $(BUILD_SHARED_LIBRARY)












